<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'stockgoods-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'sid'); ?>
		<?php echo $form->textField($model,'sid'); ?>
		<?php echo $form->error($model,'sid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodTitle'); ?>
		<?php echo $form->textField($model,'goodTitle',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'goodTitle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodAmount'); ?>
		<?php echo $form->textField($model,'goodAmount',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'goodAmount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodStorage'); ?>
		<?php echo $form->textField($model,'goodStorage',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'goodStorage'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodParameterid'); ?>
		<?php echo $form->textField($model,'goodParameterid'); ?>
		<?php echo $form->error($model,'goodParameterid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodPrice'); ?>
		<?php echo $form->textField($model,'goodPrice',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'goodPrice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'goodVipPrice'); ?>
		<?php echo $form->textField($model,'goodVipPrice',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'goodVipPrice'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->